const { escape, createConnection } = require("mysql");
const DataShcema = require("../config/DataShcema");


// let time = monent(Date.now()).format('YYYY-MM-DD HH:mm:ss')

let data = {
  code: 1,
  message: "aolidawdaw"
}

// add('user',data)

// # goods_id, goods_name, goods_img, goods_price, goods_title, user_id, user_name, create_time, goods_type, goods_description, contact_information, isshare
// '1', '时长', 'www.rene-gleichner.org', '0', 'music', '1', '苏峻熙', '2022-10-10 12:20:34', '其他', '一荤一素', '15743067004', '0'

// 根据任意表的键值对查找对应的键值对
// exactFind('goods', 'goods_id', '9')
// find('user', 'id', '1')
//时间有限 添加就通过循环来实现吧
// add('goods', DataShcema.goods('大砍刀一把', '/pic.png', '9.9', '用了十年的大砍刀含泪出！', '1', '猪八戒', time, '实用工具', '爸爸表达我的家啊无论多久啊发简历'))

// change('goods',"goods_name","新的名称")